home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / EleOfC++ vrs 0.1 / PictView / TPICTApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-13  |  741 b   |  25 lines  |  [TEXT/KAHL]

  1. /*
  2. ** This is the TPICTApp class declaration.  This class is an adaptation of 
  3. ** the class of the same name in the book, Elements of C++ Macintosh 
  4. ** Programming, by Dan Weston.
  5. **
  6. ** Copyright © 1991 Mark Gross (gross@kaman.com and
  7. ** RR2, Box 84, Clayville, NY 13322);         
  8. ** this file may be published everywhere, but no charge
  9. ** may be made for its use.  Please contact me about any bugs found.
  10. ** I'm also looking for Macintosh development work, so drop me a line
  11. ** if you think I could help.  
  12. */
  13.  
  14. #define _H_PPICTApp
  15. #include "TApp.h"
  16.  
  17. struct TPICTApp:TApp
  18. {
  19.     TDoc     *MakeDoc(SFReply *reply);
  20.     int        GetNumFileTypes(void);
  21.     void    GetFileTypeList(void);
  22.     Boolean    CanOpen(void);
  23.     Boolean    CanNew(void);
  24. };/*end of classs specification*/
  25.